package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class WxUser {
    @TableId(type = IdType.ASSIGN_ID)
    private String userId;
    private String name;
    private String phone;
    private String city;
    private String url;
    private String openId;
    private String token;
    private LocalDateTime createTime;
    private Integer couponNum;
    private Integer integralNum;
    private Integer carbonNum;

    private String face;
    private LocalDateTime faceTime;
    private String deckId;

    @TableField(exist = false)
    private Double sumMileage;
    @TableField(exist = false)
    private Long sumDuration;
    @TableField(exist = false)
    private Integer ranking;

    private String sex;
    private Integer age;
    private Integer height;
    private Integer weight;
}
